package com.letoken.platform.repo.app.res.mall;

import com.baomidou.mybatisplus.annotation.TableField;
import com.letoken.platform.repo.mall.po.AppMallInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel(value = "用户查看店铺详情", description = "用户查看店铺详情")
public class MallUserDetailRes implements Serializable {


    @ApiModelProperty("店铺ID")
    private Integer mallId;
    // 店主用户ID
    private Integer userId;

    @ApiModelProperty("店铺名称")
    private String mallName;

    @ApiModelProperty("店铺地址")
    private String mallAddress;

    @ApiModelProperty("店铺详细地址")
    private String mallAddressInfo;

    @ApiModelProperty("店铺等级")
    private Float level;

    @ApiModelProperty("店铺经度")
    private BigDecimal longitude;

    @ApiModelProperty("店铺纬度")
    private BigDecimal latitude;


    @ApiModelProperty("店铺logo")
    private String logo;


    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("是否有营业执照0无 1有")
    private Integer isBusiness;


    @ApiModelProperty("行业标签")
    private String label;


    @ApiModelProperty("背景图片")
    private String bgImage;

    @ApiModelProperty("营业执照url")
    private String businessUrl;

    @ApiModelProperty("一级分类")
    private Integer oneCategory;

    @ApiModelProperty("二级分类")
    private Integer twoCategory;

    @ApiModelProperty("销量")
    private Integer salesVolume;

    @ApiModelProperty("一级分类名称")
    private String oneCategoryName;


    @ApiModelProperty("二级分类名称")
    private String twoCategoryName;

    @ApiModelProperty("国际号")
    private Integer areaCode;

    @ApiModelProperty("是否收藏0未收藏 1已收藏")
    private Integer collected;


    @ApiModelProperty("服务标签")
    private String serviceTag;


    @ApiModelProperty("相似列表")
    private List<MallUserShopsRes> similars;




    @ApiModelProperty("公告")
    private String notice;

    @ApiModelProperty("关注人数")
    private Integer followers;

    @ApiModelProperty("营业时间")
    private String businessHours;

    @ApiModelProperty("平均评分")
    private Float score;

    @ApiModelProperty("满意度")
    private Integer satisfaction;


    @ApiModelProperty("评价数")
    private Integer evaluateNum;

    @ApiModelProperty("好评数")
    private Integer goodEvaluate;
    @ApiModelProperty("差评数")
    private Integer badEvaluate;


    @ApiModelProperty("3条评价记录")
    private List<DetailEvaluateRes> evaluateList ;




}
